<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
<div id="myapp">
  <my-component></my-component>
</div>
<script src="//cdn.bootcss.com/vue/2.2.1/vue.js"></script>
<script src="componet.js"></script>
<script>
  // 注册
  // 创建根实例
  new Vue({
    el: '#myapp'
  })
</script>
</body>
</html>
